package com.cf.log;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author 翟永超
 * @create 2017/6/24.
 * @blog http://blog.didispace.com
 */
@Component
public class TcServiceFallback implements TcService {

    public TcServiceFallback() {
        System.out.println("-------tc------");
    }

    @Override
    public String tc(Map map) {
        return "tc-fallback";
    }
}
